package com.shycloud.mido.basic.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shycloud.mido.basic.api.entity.BasProvinces;
import com.shycloud.mido.basic.mapper.BasProvincesMapper;
import com.shycloud.mido.basic.service.BasProvincesService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * <p>
 *	省份服务实现类
 * </p>
 *
 * @author yyy
 * @since 2019-03-01
 */
@Service
@AllArgsConstructor
public class BasProvincesServiceImpl extends ServiceImpl<BasProvincesMapper, BasProvinces> implements BasProvincesService {

	private final BasProvincesMapper basProvincesMapper;

	/**
	 * 查询省份名称列表
	 * @return
	 */
	@Override
	public List<BasProvinces> selProvinces(){
		return  basProvincesMapper.selProvinces();
	}
}
